<template>
  <!--商户资料 杨灿-->
    <div>
      <el-row>
        <el-col :span="12" offset="4">
     <el-row>
       <el-col :span="5">
      <h3>基本信息</h3>
       </el-col>
     </el-row>
      <el-divider></el-divider>
      <el-form ref="form" :model="form" label-width="80px">
        <el-form-item label="商户ID">
          <el-input v-model="form.id"  :disabled="true"></el-input>
        </el-form-item>
        <el-form-item label="商户名称">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="商户地址">
          <el-input v-model="form.address"></el-input>
        </el-form-item>
        <el-row>
          <el-col :span="5">
        <h3>财务信息</h3>
          </el-col>
        </el-row>
        <el-divider></el-divider>
        <el-form-item label="开户名称">
          <el-input v-model="form.id"></el-input>
        </el-form-item>
        <el-form-item label="开户银行">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="银行账号">
          <el-input v-model="form.address"></el-input>
        </el-form-item>
        <el-row>
          <el-col :span="6">
        <h3>联系人信息</h3>
          </el-col>
        </el-row>
        <el-divider></el-divider>
        <el-form-item label="姓名">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="职务">
          <el-input v-model="form.address"></el-input>
        </el-form-item>
        <el-form-item label="手机">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="电话">
          <el-input v-model="form.address"></el-input>
        </el-form-item>
        <el-form-item label="邮箱">
          <el-input v-model="form.address"></el-input>
        </el-form-item>

        <el-form-item label="性别">
          <el-radio-group v-model="form.resource">
            <el-radio label="男"></el-radio>
            <el-radio label="女"></el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="onSubmit">保存</el-button>
          <el-button>取消</el-button>
        </el-form-item>
      </el-form>
        </el-col>
      </el-row>
    </div>
</template>

<script>
    export default {
      name: "MerchantInformation",
      data() {
        return {
          form: {
            name: '',
            region: '',
            date1: '',
            date2: '',
            delivery: false,
            type: [],
            resource: '',
            desc: '',
            address:''
          }
        }
      },
      methods: {
        onSubmit() {
          console.log('submit!');
        }
      }
    }
</script>

<style scoped>

</style>
